<ui:composition template="/templates/main.xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:c="http://java.sun.com/jsp/jstl/core">
	<ui:define name="body">
	<h:body>
		<rich:panel>
			<f:facet name="header">
				<h:outputText value="文件添加结果"></h:outputText>
			</f:facet>
			<h:form>
				<table>
					<c:if test="#{not documentBean.insertFlag}">
				    <tr>
				    	
						<td>
						<img width="40px" src="images/icons/error.png" />
						</td>
						<td>
						<font size="2"><b>文件添加失败！</b></font>
						</td>
					</tr>
					</c:if>
					<c:if test="#{documentBean.insertFlag}">
					<tr>
						<td>
						<img width="40px" src="images/icons/right.png" />
						</td>
						<td>
						<font size="2"><b>文件添加成功！</b></font>
						</td>
					</tr>
					</c:if>
					<tr>
						<td>
					
						</td>
						<td>
							点击下面的相应按钮，将前往不同的页面。
						</td>
					</tr>
					<tr>
						<td>
					
						</td>
						<td>
							<br />
							<img src="images/icons/ico_new_item.gif" /> 继续添加文件<br />
							<img src="images/icons/ico_new_item.gif" /> 查看文档列表
						</td>
					</tr>
				</table>
			</h:form>
		</rich:panel>
		</h:body>
  	</ui:define>
</ui:composition>
